package com.d0316.homework;

import java.util.Scanner;

public class MyMath {
    public int div(String x,String y) throws ArithmeticException,NumberFormatException{
        int result = 0 ;

        int a = Integer.parseInt(x);
        int b = Integer.parseInt(y);

        result = a/b;
        return result;

    }

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String x= scanner.next();
        String y= scanner.next();
        MyMath myMath = new MyMath();
        System.out.println(myMath.div(x,y));
    }
}
